#magic methods